projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa0cea
)
win32: Disconnect the frame clock
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 24 May 2019 10:55:06 +0000
(10:55 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 May 2019 20:25:17 +0000
(20:25 +0000)
The frame clock can now survive the surface,
so we need to disconnect when the surface goes away.
gdk/win32/gdksurface-win32.c
patch
|
blob
|
history
diff --git
a/gdk/win32/gdksurface-win32.c
b/gdk/win32/gdksurface-win32.c
index e8df18b5662478268d0712caf10c3f903f9d3780..bad6006021b91da458f0bc325d95270675c3e025 100644
(file)
--- a/
gdk/win32/gdksurface-win32.c
+++ b/
gdk/win32/gdksurface-win32.c
@@
-686,6
+686,10
@@
gdk_win32_surface_destroy (GdkSurface *window,
/* Remove ourself from the modal stack */
_gdk_remove_modal_window (window);
+ g_signal_handlers_disconnect_by_func (gdk_surface_get_frame_clock (window),
+ gdk_win32_impl_frame_clock_after_paint,
+ window);
+
/* Remove all our transient children */
while (surface->transient_children != NULL)
{